//
//  WYSeeProductController.m
//  Boss
//
//  Created by admin on 2018/7/18.
//  Copyright © 2018年 admin. All rights reserved.
//

#import "WYSeeProductController.h"

@interface WYSeeProductController ()
@property (strong, nonatomic) IBOutlet UIImageView *imageView;
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *topHeight;

@property (strong, nonatomic) IBOutlet UILabel *headLabel;

@property (strong, nonatomic) IBOutlet UILabel *contentLabel;
@end

@implementation WYSeeProductController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupUI];
}
-(void)setupUI
{
    self.imageView.clipsToBounds = YES;
    self.topHeight.constant = self.navHeight+10;
    [self.imageView sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@!default",self.service.picUrl]] placeholderImage:[UIImage imageNamed:@""]];
    self.contentLabel.text = self.service.content;
    self.headLabel.text = self.service.title;
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
